package com.whh.tq.bean;

/**
 * 查询结果
 * 
 * @author wanghh
 * 
 */
public class QueryResultInfo {
	private int id;
	private String station;// 站点
	private String startStation;// 起始站
	private String endStation;// 终点站
	private String startTime;// 始发时间
	private String endTime;// 终到时间
	private String trainCode;// 车次
	private String fromStation;// 发站
	private String toStation;// 到站
	private String fromTime;// 发时
	private String toTime;// 到时
	private String usedTime;// 用时
	private String bussinessSeat;// 商务座
	private String specialSeat;// 特等座
	private String firstClassSeat;// 一等座
	private String secondClassSeat;// 二等座
	private String premiumSoftCouchette;// 高级软卧
	private String softCouchette;// 软卧
	private String hardCouchette;// 硬卧
	private String softSeat;// 软座
	private String hardSeat;// 硬座
	private String noSeat;// 无座
	private String level;// 等级

	public String getLeftTicketSeatInfo() {
		String str = "";
		if (this.bussinessSeat != null && !bussinessSeat.equals("--")) {
			str += "商务座:" + this.bussinessSeat + "  ";
		}
		if (this.specialSeat != null && !specialSeat.equals("--")) {
			str += "特等座:" + this.specialSeat + "  ";
		}
		if (this.firstClassSeat != null && !firstClassSeat.equals("--")) {
			str += "一等座:" + this.firstClassSeat + "  ";
		}
		if (this.secondClassSeat != null && !secondClassSeat.equals("--")) {
			str += "二等座:" + this.secondClassSeat + "  ";
		}
		if (this.premiumSoftCouchette != null && !premiumSoftCouchette.equals("--")) {
			str += "高级软卧:" + this.premiumSoftCouchette + "  ";
		}
		if (this.softCouchette != null && !softCouchette.equals("--")) {
			str += "软卧:" + this.softCouchette + "  ";
		}
		if (this.hardCouchette != null && !hardCouchette.equals("--")) {
			str += "硬卧:" + this.hardCouchette + "  ";
		}
		if (this.softSeat != null && !softSeat.equals("--")) {
			str += "软座:" + this.softSeat + "  ";
		}
		if (this.hardSeat != null && !hardSeat.equals("--")) {
			str += "硬座:" + this.hardSeat + "  ";
		}
		if (this.noSeat != null && !noSeat.equals("--")) {
			str += "无座:" + this.noSeat + "  ";
		}
		return str;
	}

	public String getTimeTableSeatInfo() {
		String str = "";
		if (this.bussinessSeat != null && !bussinessSeat.equals("--")) {
			str += "商务座:" + this.bussinessSeat + "  ";
		}
		if (this.specialSeat != null && !specialSeat.equals("--")) {
			str += "特等座:" + this.specialSeat + "  ";
		}
		if (this.firstClassSeat != null && !firstClassSeat.equals("--")) {
			str += "一等座:" + this.firstClassSeat + "  ";
		}
		if (this.secondClassSeat != null && !secondClassSeat.equals("--")) {
			str += "二等座:" + this.secondClassSeat + "  ";
		}
		if (this.premiumSoftCouchette != null && !premiumSoftCouchette.equals("--")) {
			str += "高级软卧上/下:" + this.premiumSoftCouchette + "  ";
		}
		if (this.softCouchette != null && !softCouchette.equals("--")) {
			str += "软卧上/下:" + this.softCouchette + "  ";
		}
		if (this.hardCouchette != null && !hardCouchette.equals("--")) {
			str += "硬卧上/中/下:" + this.hardCouchette + "  ";
		}
		if (this.softSeat != null && !softSeat.equals("--")) {
			str += "软座:" + this.softSeat + "  ";
		}
		if (this.hardSeat != null && !hardSeat.equals("--")) {
			str += "硬座:" + this.hardSeat + "  ";
		}
		if (this.noSeat != null && !noSeat.equals("--")) {
			str += "无座:" + this.noSeat + "  ";
		}
		return str;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getStation() {
		return station;
	}

	public void setStation(String station) {
		this.station = station;
	}

	public String getStartStation() {
		return startStation;
	}

	public void setStartStation(String startStation) {
		this.startStation = startStation;
	}

	public String getEndStation() {
		return endStation;
	}

	public void setEndStation(String endStation) {
		this.endStation = endStation;
	}

	public String getTrainCode() {
		return trainCode;
	}

	public void setTrainCode(String trainCode) {
		this.trainCode = trainCode;
	}

	public String getFromStation() {
		return fromStation;
	}

	public void setFromStation(String fromStation) {
		this.fromStation = fromStation;
	}

	public String getToStation() {
		return toStation;
	}

	public void setToStation(String toStation) {
		this.toStation = toStation;
	}

	public String getFromTime() {
		return fromTime;
	}

	public void setFromTime(String fromTime) {
		this.fromTime = fromTime;
	}

	public String getToTime() {
		return toTime;
	}

	public void setToTime(String toTime) {
		this.toTime = toTime;
	}

	public String getUsedTime() {
		return usedTime;
	}

	public void setUsedTime(String usedTime) {
		this.usedTime = usedTime;
	}

	public String getBussinessSeat() {
		return bussinessSeat;
	}

	public void setBussinessSeat(String bussinessSeat) {
		this.bussinessSeat = bussinessSeat;
	}

	public String getSpecialSeat() {
		return specialSeat;
	}

	public void setSpecialSeat(String specialSeat) {
		this.specialSeat = specialSeat;
	}

	public String getFirstClassSeat() {
		return firstClassSeat;
	}

	public void setFirstClassSeat(String firstClassSeat) {
		this.firstClassSeat = firstClassSeat;
	}

	public String getSecondClassSeat() {
		return secondClassSeat;
	}

	public void setSecondClassSeat(String secondClassSeat) {
		this.secondClassSeat = secondClassSeat;
	}

	public String getPremiumSoftCouchette() {
		return premiumSoftCouchette;
	}

	public void setPremiumSoftCouchette(String premiumSoftCouchette) {
		this.premiumSoftCouchette = premiumSoftCouchette;
	}

	public String getSoftCouchette() {
		return softCouchette;
	}

	public void setSoftCouchette(String softCouchette) {
		this.softCouchette = softCouchette;
	}

	public String getHardCouchette() {
		return hardCouchette;
	}

	public void setHardCouchette(String hardCouchette) {
		this.hardCouchette = hardCouchette;
	}

	public String getSoftSeat() {
		return softSeat;
	}

	public void setSoftSeat(String softSeat) {
		this.softSeat = softSeat;
	}

	public String getHardSeat() {
		return hardSeat;
	}

	public void setHardSeat(String hardSeat) {
		this.hardSeat = hardSeat;
	}

	public String getNoSeat() {
		return noSeat;
	}

	public void setNoSeat(String noSeat) {
		this.noSeat = noSeat;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	
}
